package com.qf.service.impl;

import com.qf.bean.Wife;
import com.qf.dao.WifeDao;
import com.qf.service.WifeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 2019/12/2
 * Administrator
 * springdata1130
 * 面向对象面向君  不负代码不负卿
 */
@Service("wservice")
public class WifeServiceImpl implements WifeService {

    @Autowired
    private WifeDao wifeDao;

    public Wife findbyid(int id) {
        return wifeDao.findOne(id);
    }
}
